package com.itqf.ipmsys.dto;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonIgnoreType;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

/**
 * @Author David Sun
 * @Date 2021/9/25 16:35
 * @Version 1.0
 *
 */

public class PoliceFindDto {

    /**
     * 用户名关键字
     */
    private String name;

    /**
     * 警员编号
     */
    private String number;

    /**
     * 当前页
     */
    private int page;

    /**
     * 页大小(每页显示数据)
     */
    @JsonProperty(value = "pagesize")
    private int pageSize;

    public PoliceFindDto() {
    }

    public PoliceFindDto(String name, String number, int page, int pageSize) {
        this.name = name;
        this.number = number;
        this.page = page;
        this.pageSize = pageSize;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getNumber() {
        return number;
    }

    public void setNumber(String number) {
        this.number = number;
    }

    public int getPage() {
        return page;
    }

    public void setPage(int page) {
        this.page = page;
    }

    public int getPageSize() {
        return pageSize;
    }

    public void setPageSize(int pageSize) {
        this.pageSize = pageSize;
    }
}
